home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Dev / Triton / Developer / DICE / triton_lib.h < prev    next >
C/C++ Source or Header  |  1995-06-28  |  1KB  |  66 lines

  1. /*
  2.  *  Triton - The object oriented GUI creation system for the Amiga
  3.  *  Written by Stefan Zeiger in 1993-1994
  4.  *
  5.  *  (c) 1993-1994 by Stefan Zeiger
  6.  *  You are hereby allowed to use this source or parts
  7.  *  of it for creating programs for AmigaOS which use the
  8.  *  Triton GUI creation system. All other rights reserved.
  9.  *
  10.  */
  11.  
  12.  
  13. #ifndef _TRITON_H
  14. #define _TRITON_H
  15.  
  16. #define TR_NOMACROS
  17. #define TR_NOSUPPORT
  18.  
  19. #ifdef _DCC
  20.  
  21. #ifndef EXEC_TYPES_H
  22. #include <exec/types.h>
  23. #endif
  24.  
  25. #define REG(x) __ ## x
  26. #define ASM
  27. #define STACK  __stkargs
  28. #define REGS   __regargs
  29.  
  30. #else
  31.  
  32. #ifdef __GNUC__
  33.  
  34. #define REG(x)
  35. #define ASM
  36. #define STACK
  37. #define REGS
  38.  
  39. #else /* __SASC__ */
  40.  
  41. #define REG(x) register __ ## x
  42. #define ASM    __asm
  43. #define STACK  __stdargs
  44. #define REGS   __regargs
  45.  
  46. #endif /* __GNUC__ */
  47.  
  48. #endif /* _DCC */
  49.  
  50. #ifndef _DCC
  51. #include <dos.h>
  52. #endif /* _DCC */
  53.  
  54. #include <utility/hooks.h>
  55. #include <clib/exec_protos.h>
  56. #include <pragmas/exec_pragmas.h>
  57. #include <libraries/triton.h>
  58. #include <proto/dos.h>
  59. #include <proto/intuition.h>
  60. #include <proto/graphics.h>
  61. #include <proto/triton.h>
  62. #include <clib/alib_protos.h>
  63. #include <ctype.h>
  64.  
  65. #endif /* _TRITON_H */
  66.